package com.zhm.demo.controller.dto;

import lombok.Data;
import lombok.ToString;

/**
 * ClassName:    EmqxClient
 * Package:    com.ruoyi.model.dto
 * Description:
 * Datetime:    2024/2/1   15:44
 * Author:   hufei:KIki
 */
@Data
@ToString
public class EmqxHookEventDTO {
    //{clientId=865102217364572, event=client.connected}
    // 设备id
    private String clientId;

    // 设备事件
    private String event;
//    private String username;

    public final static String CLIENT_CONNECTED="client.connected";  //设备链接事件  往后可能会有N种事件;
    public final static String CLIENT_DISCONNECTED="client.disconnected";  //设备链接事件  往后可能会有N种事件;

}
